<?php if (!defined('THINK_PATH')) exit();?><script type="text/javascript" src="../Public/js/module/Message/news.js"></script>

<div id="div_agents_manager_personnel_dialog"><div id="div_agents_manager_personnel_tree"></div></div>

<div class="sendTitleDiv marginleft10">
    新闻中心
</div>
<div class="margintop20 floatRightDiv marginright80">
    <form action="__URL__/newsAddPage.shtml"  method="post">
        <div class="floatLeftDiv marginleft50">
            <input type="submit" value="添加" class="buttonStyle" />
        </div>
    </form>
</div>
<div class="tableInfoDiv margintop10">
    <table id="table_agents_manager">
        <tr>
            <td>
                名称
            </td>
            <td>
                日期
            </td>
            <td>
                模块
            </td>
            <td>
                是否飘红
            </td>
            <td>
                功能
            </td>
        </tr>
        <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$l): ++$i;$mod = ($i % 2 )?><tr>
                <td>
                    <?php echo ($l["name"]); ?>
                </td>
                <td>
                    <?php echo ($l["datetime"]); ?>
                </td>
                <td>
                    <?php echo ($l["module"]); ?>
                </td>
                <td>
            <input type="checkbox" m_id ="<?php echo ($l["id"]); ?>" <?php if($l["float_red"] == 1): ?>checked = "checked"<?php endif; ?> />
            </td>
            <td>
                <a href="__URL__/newsAddPage/id/<?php echo ($l["id"]); ?>.shtml">修改</a>/
                <a href="#" class="c_news_delete" n_id="<?php echo ($l["id"]); ?>">删除</a>
            </td>
            </tr><?php endforeach; endif; else: echo "" ;endif; ?>
    </table>
</div>
<div class="clear"></div>
<div id="div_news_page_list" class="margintop10">
    <div class="sabrosus">
        <?php echo ($show); ?>
    </div>
</div>
<form id="frm_news_manager_hidden" action="__URL__/newsDelete/id/" method="post"></form>